package com.huazheng.miaosha.web.entity;

import lombok.Data;

import java.io.Serializable;

/**
 *
 *
 * @author zhanghuazheng
 * @email zhanghuazheng@zhanghz.work
 * @date 2021-01-23 19:38:45
 */
@Data
public class StockEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	private Integer id;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 库存
	 */
	private Integer count;
	/**
	 * 已售
	 */
	private Integer sale;
	/**
	 * 乐观锁，版本号
	 */
	private Integer version;

}
